﻿
namespace BTS.COMMON
{
    /// <summary>
    /// 日志级别
    /// </summary>
    public enum E_EIS_LOG_LEVEL
    {
        [EnumDescription("信息")]
        EIS_LOG_INFORMATION = 0,
        [EnumDescription("警告")]
        EIS_LOG_ALERT = 1,
        [EnumDescription("错误")]
        EIS_LOG_ERROR = 2,
        [EnumDescription("记录")]
        EIS_LOG_RECORD = 10
    }

    /// <summary>
    /// 数据库类型
    /// </summary>
    public enum DBType : int
    {
        SqlServer = 1,
        Oracle = 2,
        Access = 3
    }

    /// <summary>
    /// 字符串正则验证类型
    /// </summary>
    public enum RegexType 
    {
        [EnumDescription("是否为空")]
        IsNullOrEmpty = 0,
        [EnumDescription("电话号")]
        Mobile = 1,
        [EnumDescription("手机号")]
        Telephone = 2,
        [EnumDescription("电话号或手机号")]
        PhoneNumber = 3,
        [EnumDescription("邮箱")]
        Email = 4,
        [EnumDescription("是否数字")]
        IsNaN = 5
    }
}
